<?php
namespace App\Domain;

use App\Model\Banner as ModelBanner;

class Banner {

    //获取banner
    public function getBanner() {
        $model = new ModelBanner();
        return $model->getAllBanner();
    }

    //获取活动
    public function getAction() {
        $model = new ModelBanner();
        return $model->getAllAction();
    }

    //获取五分类图片
    public function getCategory() {
        $model = new ModelBanner();
        return $model->getAllCategory();
    }
}
